package org.core.tliaswebmanagement.service;

import org.core.tliaswebmanagement.pojo.PageResult;
import org.core.tliaswebmanagement.pojo.Student;
import org.core.tliaswebmanagement.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {
    PageResult<Student> page(StudentQueryParam param);

    void add(Student student);

    void delete(List<Integer> ids);

    Student getInfo(Integer id);

    void update(Student student);

    void updateViolation(Integer id, Integer score);
}
